package java44th.group.mapper;

import java.util.LinkedList;
import java.util.List;
import java44th.group.bean.po.MarketLog;
import java44th.group.bean.po.MarketLogExample;
import org.apache.ibatis.annotations.Param;

public interface MarketLogMapper {
    long countByExample(MarketLogExample example);

    int deleteByExample(MarketLogExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketLog row);

    int insertSelective(MarketLog row);

    List<MarketLog> selectByExample(MarketLogExample example);

    MarketLog selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") MarketLog row, @Param("example") MarketLogExample example);

    int updateByExample(@Param("row") MarketLog row, @Param("example") MarketLogExample example);

    int updateByPrimaryKeySelective(MarketLog row);

    int updateByPrimaryKey(MarketLog row);

    LinkedList<MarketLog> selectAllLogData(String name);

    Integer countByName(String name);

    String selectOrderSnById(Integer orderId);
}